<juci-layout-with-sidebar>
	<div ng-controller="SnmpConfigPage">
		<juci-config-heading>{{'SNMPD Configuration'|translate}}</juci-config-heading>
		<juci-config-info>{{'snmpd.config.info'|translate}}</juci-config-info>
		<div ng-if="snmpd_not_installed" class="alert alert-danger" translate>SNMP is not installed on this system</div>
		<div ng-if="!snmpd_not_installed">
			<juci-config-section title="{{'General Settings'|translate}}">
				<juci-config-lines>
					<juci-config-line title="{{'Enabled'|translate}}">
						<switch ng-model="config.enabled.value" class="green"/>
					</juci-config-line>
					<juci-config-line title="{{'Read Community'|translate}}">
						<input type="text" ng-model="config.read_community.value" class="form-control" placeholder="{{'Community'|translate}}"/>
					</juci-config-line>
					<juci-config-line title="{{'Set Community'|translate}}">
						<input type="text" ng-model="config.set_community.value" class="form-control" placeholder="{{'Community'|translate}}"/>
					</juci-config-line>
					<juci-config-line title="{{'System Name'|translate}}">
						<input type="text" ng-model="config.sysName.value" class="form-control" placeholder="{{'Name'|translate}}"/>
					</juci-config-line>
					<juci-config-line title="{{'System Location'|translate}}">
						<input type="text" ng-model="config.sysLocation.value" class="form-control" placeholder="{{'Location'|translate}}"/>
					</juci-config-line>
					<juci-config-line title="{{'System Contact'|translate}}">
						<input type="text" ng-model="config.contact.value" class="form-control" placeholder="{{'E-Mail'|translate}}"/>
					</juci-config-line>
					<juci-config-line title="{{'Trap Manager IP'|translate}}">
						<juci-input-ipv4-address ng-model="config.manager_ip.value"></juci-input-ipv4-address>
					</juci-config-line>
				</juci-config-lines>
			</juci-config-section>
		</div>
	</div>
</juci-layout-with-sidebar>
